﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using RBOSS.Business.VendorModule;

namespace RBOSS.WebUI
{
    public partial class vendorbankdetails : System.Web.UI.Page
    {
        VendorProfile_sys vProfile = new VendorProfile_sys();
        protected void Page_Load(object sender, EventArgs e)
        {
            if(!Page.IsPostBack)
            {
                vProfile = vProfile.getvendordata((string)Session["email"]);
                if(vProfile!=null)
                {
                    txtAccountNo.Text = vProfile.AccountNumber;
                    txtAccountType.Text = vProfile.AccountType;
                    txtBankBranch.Text = vProfile.BankBranch;
                    txtBankName.Text = vProfile.BankName;
                }
            }
        }
    }
}